package com.springcloud.sc.ucpv5.client.module.datamanager.save;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.springcloud.sc.ucpv5.client.commondata.MyNode;
import com.springcloud.sc.ucpv5.client.commondata.data.Group;
import com.springcloud.sc.ucpv5.client.commondata.data.GroupQueryRsp;
import com.springcloud.sc.ucpv5.client.commondata.data.GroupUserProperty;
import com.springcloud.sc.ucpv5.client.commondata.data.GroupUserPropertyQueryRsp;
import com.springcloud.sc.ucpv5.client.commondata.data.Node;
import com.springcloud.sc.ucpv5.client.commondata.data.NodeQueryRsp;
import com.springcloud.sc.ucpv5.client.commondata.data.User;
import com.springcloud.sc.ucpv5.client.commondata.data.UserQueryRsp;

/**
 * 
 * @author Administrator
 * @preserve all
 *
 */
public class NodeData implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 7185138841479030613L;

	Node node = new Node();

	int loadStatus = MyNode.INIT_TYPE_NO_LOAD;

	long HearHandleMsg_qryIncValue = 0;

	public NodeQueryRsp nodeRsp = new NodeQueryRsp();
	public GroupQueryRsp groupRsp = new GroupQueryRsp();
	public UserQueryRsp userRsp = new UserQueryRsp();
	public GroupUserPropertyQueryRsp groupUserRsp = new GroupUserPropertyQueryRsp();

	List<NodeData> datas = new ArrayList<NodeData>();

	public NodeData() {
		nodeRsp.NodeList = new Node[0];
		groupRsp.Rows = new Group[0];
		userRsp.UserList = new User[0];
		groupUserRsp.GroupUserPropertyList = new GroupUserProperty[0];

		// 记录心跳信息
		HearHandleMsg_qryIncValue = 0;
	}
}
